with open("words.txt", "r", encoding="utf8") as f:
    lines = f.readlines()
    lines = [l.replace("\n", "") for l in lines]

chinese = []
english = []

for i, line in enumerate(lines):
    if i % 2 == 0:
        chinese.append(line)
    else:
        english.append(line)


def make_list(wlist):
    wstr = " ".join(wlist)
    wlist = wstr.split()
    return wlist


clist = make_list(chinese)
elist = make_list(english)

rightcount = 0
while True:
    answer = input(clist[rightcount] + ": ")
    if answer == elist[rightcount]:
        print("right!")
        rightcount += 1
    else:
        print("False")

    if rightcount >= len(clist):
        break

print("over")
